package com.ctrip.demo.design.decorator;

public class MeiYanDecorator implements TikTokDecorator {

    private ManTikTok manTikTok;

    public MeiYanDecorator(ManTikTok manTikTok) {
        this.manTikTok = manTikTok;
    }

    @Override
    public void tikTok() {
        enable();
        manTikTok.tikTok();
    }

    @Override
    public void enable() {
        System.out.println("正在开启美颜.....");
        System.out.println("刷鲜花了......");
    }
}
